<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">并行开发的应用信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
                <tr th:each="app,userStat:${apps}">
                    <th width="100px" th:text="${app.key.display_name+T(org.apache.commons.io.FilenameUtils).getBaseName(app.key.repo_url)}">应用名称</th>
                    <td>
                        <div th:each="ver:${app.value}">
                            <span style="margin-top: 1em;" th:text="${ver.demand_title}+'('+${(ver.hotfix_flag=='0'?'dev-':'hotfix-')+ver.version}+') '" th:title="${ver.demand_title}">版本名称</span>
                            <div th:replace="/common/fragment :: selectTag('leader_id',${users},${ver.leader_id},'id','nickname','disabled')"></div>
                        </div>
                    </td>
                </tr>
                <tr th:if="${apps == null || apps.isEmpty()}">
                    <td> 没有并发应用 </td>
                </tr>
            </tbody>
        </table>
    </div>
</body>
</html>